<?php

include "php/conn.php";

$fname = $_POST['firstName'];
$lname = $_POST['lastName'];
$email = $_POST['email'];;
$user = $_POST['user'];
$password = $_POST['password'];
$hometown = $_POST['home'];
$style = $_POST['style'];

$insert = mysql_query("INSERT INTO members
							(id, username, password, hometown, fighting_style, fname, lname, email )
						VALUES
							('','$user', '$password', '$hometown', '$style', '$fname', '$lname', '$email' )
						") or die(mysql_error());

header('Location: index.html');
?>